|
|
Here's a modification of Daniel's code. Why is there a distortion in x but
not z??
#include "colors.inc"
#include "functions.inc"
camera
{
location <0, 2, -10>
rotate 90*y
}
light_source
{
<-100, 100, -100>
color White
}
#declare f_hills =
function
{
pattern
{
bumps
scale <0.1, 0.1, 0.1>
}
}
#declare blah=10;
#declare f_hills2=function{f_noise_generator(x,y,z,2)}
height_field
{
// Incease your resolution here if you need to.
function 256, 256 { f_hills2(x*blah, y, z*blah) }
smooth
pigment
{
color rgb <1, 1, 0.8>
}
translate <-0.5, 0, -0.5>
scale <10, 0.5, 10>
}
Post a reply to this message
|
|